home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- *
- * NSSDC/CDF Directory utilities header.
- *
- * Version 1.0, 10-Feb-92, ST Systems (STX)
- *
- * Modification history:
- *
- * V1.0 10-Feb-92, J Love Original version.
- *
- *****************************************************************************/
-
- /******************************************************************************
- * NOTES:
- *
- * On the IBM PC, __MSDOS__ defined for Borland C, MSDOS defined for
- * Microsoft C.
- *****************************************************************************/
-
- #if !defined(___dirutils_h___)
- #define ___dirutils_h___
-
- /****************************************************************************/
-
- #define MAX_PATH_LEN 255
- #define MAX_DIR_LEN 255
- #define MAX_NAME_LEN 32
- #define MAX_PATTERNS 16
-
- #if defined(unix)
- #define MAX_USERNAME_LEN 100
- #define MAX_ENVVAR_LEN 80
- #endif
-
- #if !defined(NUL)
- #define NUL '\0' /* Null character */
- #endif
-
- #if !defined(TRUE)
- #define TRUE (-1)
- #endif
-
- #if !defined(FALSE)
- #define FALSE 0
- #endif
-
- #if defined(vms) | defined(__MSDOS__) | defined(MSDOS)
- int DirList (char *, char ***, char ***);
- void ParsePath (char *, char *, char *);
- void ExpandPath (char *, char *);
- int IsDir (char *);
- int IsReg (char *);
- void AppendToDir (char *, char *);
- void RemoveExtensions (int, char **);
- #endif
-
- #if defined(unix)
- int DirList ();
- void ParsePath ();
- void ExpandPath ();
- int IsDir ();
- int IsReg ();
- void AppendToDir ();
- void RemoveExtensions ();
- #endif
-
- /*****************************************************************************/
-
- #endif /*___dirutils_h___*/
-